package com.wyb.fastdfs.dto.es;

import lombok.Data;

/**
 * @Author:wangyibo
 * @Date 2021年8月12日
 * @Version:1.0
 * @Description:ES传输模型 与mapping对应
 */
@Data
public class FileEsModel {
	/**
	 * PUT file { "mappings":{ "properties": { "fileId":{ "type": "text" },
	 * "author":{ "type": "keyword" }, "fileTitle": { "type": "text", "analyzer":
	 * "ik_smart" }, "categoryId": { "type": "text" } } } }
	 */
	private String fileId;

	private String author;

	private String fileTitle;

	private String categoryId;

}
